package com.huike.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.huike.dto.BusinessDto;
import com.huike.dto.BusinessRecordDto;
import com.huike.dto.GainClueDto;
import com.huike.dto.domain.TbBusiness;
import com.huike.pojo.OpportunityFollowUp;
import com.huike.result.PageResult;

import java.util.List;

public interface BusinessService extends IService<TbBusiness> {
    PageResult getBusinessListPage(BusinessDto businessDto);

    void addBusiness(TbBusiness business);

    void assignmentBusinessByIds(GainClueDto gainClueDto);

    TbBusiness getBusinessById(Integer id);

    List<OpportunityFollowUp> getBusinessRecordList(Integer businessId);

    void addBusinessRecord(BusinessRecordDto businessRecordDto);

    void backBusinesseById(Integer id, Integer reasons);

    void gainBusinessByIds(GainClueDto gainClueDto);
}
